|
dcmotor31 2.2.1
|
DC Motor 31 Click example. More...
Macros | |
| #define | MIKROBUS_POSITION_DCMOTOR31 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
DC Motor 31 Click example.
This example demonstrates the operation of the DC Motor 31 Click board by alternating the motor direction between forward and reverse with braking in between.
The demo application is composed of two sections :
Initializes the logger and the Click board, then applies the default configuration.
Changes the motor direction from forward to reverse with a brake period in between, and logs the current motor state on the UART terminal.
| #define MIKROBUS_POSITION_DCMOTOR31 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |